<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page import="com.gzgi.framework.*"%>
<%@ page import="com.gzgi.framework.context.*"%>
<%@ page import="com.gzgi.framework.todo.*"%>
<%@ page import="com.gzgi.framework.calendar.*"%>
<%@ include file="/pages/system/checkAdmin.jsp"%>
<%
        TodoService todoService = (TodoService)ContextFactory.getBean("todoService");
		WorkCalendarService workCalendarService = (WorkCalendarService)ContextFactory.getBean("workCalendarService");
        TodoHelper helper = new TodoHelper();
		helper.setTodoService(todoService);
		helper.setWorkCalendarService(workCalendarService);
		helper.createJbpmTasks();
		helper.sendAllMail();
%>